<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
     <style>
        /* 
            letter-spacing 设置字符之间的间距
            单位可以是px,em,rem,%值 可以是负值(间距变小)
        */
        .d1 {
            letter-spacing: 10px;
            letter-spacing: 1em;
            letter-spacing: 1rem;
            letter-spacing: 100%;
            letter-spacing: -1px;
        }
        /* 
            word-spacing 设置单词之间的间距
            必须是用空格隔开的单词才有效
            单位可以是px,em,rem,%值 可以是负值(间距变小)
        */
        .d2 {
            word-spacing: 20px;
            word-spacing: 3rem;
        }
     </style>
</head>
<body>
    <div class="d1">1234abcd你好!@#$</div>
    <div class="d2">There is a poor man. He has an orange tree. On the tree there are many fine 
        oranges. One of them is very, very big. It is as big as a football. Nobody sees so big 
        an orange. The poor man is very pleased</div>
</body>
</html>